package top.lisicheng.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.lisicheng.model.CommonResult;
import top.lisicheng.openfeign.OpenFeignApi;

import javax.annotation.Resource;

@RestController
@RequestMapping("/flowLimit")
public class FlowLimitController {

    @Resource
    private OpenFeignApi openFeignApi;

    @RequestMapping("/testC")
    public CommonResult testA() {
        return openFeignApi.testA();
    }

    @RequestMapping("/testD")
    public CommonResult testB() {
        return openFeignApi.testB();
    }
}
